# s="12312""3213"
#
# s="  '  "  '  '     "   '     "
# S2=' " '   '  " '
# print(s)
# # s=\" ---->"   \'---->'
#字符串不可变  元组 数字
s="hello"
print(s[-1])
# s[0]="nihao"
print(s)

for a in s:  # a代表元素
    print(a)
for b in range(len(s)):  #b：索引
    print(s[b])


